<%-- 
    Document   : download
    Created on : 11/Abr/2010, 18:05:34
    Author     : luis
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%
    String text = request.getParameter("text");
    response.addHeader("Content-Type", "text/plain");
    //response.addHeader("Content-Length", Integer.toString(text.length()));
    response.addHeader("Content-Disposition", "attachment; filename=\"grammar.g\"");
    out.print(text);
%>
